 package org.example.datasource.eventhandler;

import org.apache.curator.framework.recipes.cache.PathChildrenCacheEvent;

import com.alibaba.otter.canal.connector.core.consumer.CommonMessage;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class DefaultHandler extends AbstractEventHandler implements EventHandler{

    @Override
    public void hand(CommonMessage msg) {
         log.info("type=>{}",msg.getType());
    }

    @Override
    public void updatedNode(PathChildrenCacheEvent event) {
        // TODO Auto-generated method stub
         
    }

    @Override
    public void deletedNode(PathChildrenCacheEvent event) {
        // TODO Auto-generated method stub
         
    }

    @Override
    public void addedNode(PathChildrenCacheEvent event) {
        // TODO Auto-generated method stub
         
    }

}
